<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Page extends CI_Controller {
	
	public function setLanguage($lang, $page='whoweare'){
		$this->session->set_userdata('language', $lang);
		header('Location: ' . $_SERVER['HTTP_REFERER']);
	}
}